import { Service } from 'boot/axios'

// 获取匹配成功订单
export function successOrderApi <T = any>(data: any) {
  return Service<T>({
    url: 'home/successOrder',
    diyError: true,
    method: 'post',
    data
  })
}


export function gzhPageJumpInfoApi <T = any>() {
  return Service<T>({
    url: 'sys/gzhPageJumpInfo',
    method: 'post',
  })
}
export function miniPageJumpInfo <T = any>() {
  return Service<T>({
    url: 'sys/miniPageJumpInfo',
    method: 'post',
  })
}

export function wxEventCountApi <T = any>(data: any) {
  return Service<T>({
    url: 'sys/wxEventCount',
    diyError: true,
    method: 'post',
    data
  })
}
// 获取服务器参数数据
export function getConfigApi <T = any>(data: any) {
  return Service<T>({
    url: 'sys/getSystemConstantInfo',
    method: 'post',
    data
  })
}

